In the case of selectors, fine-tuning is used to refine selectors to have the workflow correctly executed in situations in which the generated selector is unreliable, too specific, or too sensitive with regard to system change. It mainly consists of small, simple changes such as adding wildcards, using the repair function or using variables in selectors. In most cases in which the selectors automatically generated are not reliable enough, fine-tuning solves the issue. However, there are some difficult situations for which there are other approaches:

Approach to Fine-Tune Selectors

Selector Editor can be used for checking selectors and UI Explorer for debugging selectors. UI Explorer enables the user to inspect all the attributes used to identify the element causing the issue. Once the element has been identified, the debugging process starts. Fine-tuning a selector involves changing the element’s attributes, either adding or removing them, and using wildcards where specific attributes have variable values inside them.

The recommended approach that can be adapted to fine-tune selectors can have the following steps: